//
//  BCUserWalletCashDataModel.h
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/12/5.
//  Copyright © 2018 guoshikeji. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
/**
 "min_cash": "0.0005000",
 "balance": "5.0000000",
 "handling": "0.0001000",
 "acronyms": "ETH",
 "unit": "ETH"
 */

typedef NS_ENUM(NSInteger,BCUserWalletCashDataHandlingType) {
    BCUserWalletCashDataHandlingType_1 = 1,//固定金额扣除
    BCUserWalletCashDataHandlingType_2 = 2,//百分比扣除
};

@interface BCUserWalletCashDataModel : NSObject

/**
 *"min_cash": "0.0005000"
 */
@property (nonatomic, copy) NSString *min_cash;

/**
 *"balance": "5.0000000"
 */
@property (nonatomic, copy) NSString *balance;

/**
 *"handling": "0.0001000" handling_type=2 /100 显示百分比
 */
@property (nonatomic, copy) NSString *handling;

/**
 *"acronyms": "ETH"
 */
@property (nonatomic, copy) NSString *acronyms;

/**
 *cur_id
 */
@property (nonatomic, copy) NSString *cur_id;

/**
 *"unit": "ETH"
 */
@property (nonatomic, copy) NSString *unit;

/**
 *"handling_type":1         // 手续费计算方式  1 固定金额 2 百分比
 */
@property (nonatomic, assign) BCUserWalletCashDataHandlingType handling_type;


/**
 *scaler : 100 表示数据的小数电位数  length-1
 */
@property (nonatomic, copy) NSString *scaler;

@end

NS_ASSUME_NONNULL_END
